<%@taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<div id="header">
	<div id="identification">
	<s:form action="connexionUser" method="POST">
			<s:textfield label="Email" 		 name="loginUserForm.login"		 size="23" />
		 	<s:password label="Mot de passe"name="loginUserForm.password" 	 size="23"/>		
			<s:if test="#session.loggedUser ==null">
				<s:submit  value="Connexion"/>
			</s:if>	
	</s:form>
	
	<s:form action="initInscription" method="POST" cssStyle="margin-top:-46px; margin-left:42px;">
		<s:if test="#session.loggedUser ==null">
			<s:submit  value="Vous inscrire" />
		</s:if>
	</s:form>
	<s:if test="#session.loggedUser !=null">
		  <p class="btnLogout">
			<a style="" href="<s:url action="logoutUser"/>" ><s:text name="label.logout"/></a>
		 </p>

	</s:if>
	</div>
</div>